package com.my.study.mapstruct.dao;

import java.util.List;

/**
 * Data Object(数据对象)
 *               映射
 * 数据库表字段 <————> DO对象
 *
 * <p>不需要实现序列号，仅仅和数据库打交道</p>
 *
 * @author: yidujun
 * @create: 2021/06/23 15:43
 */
public class OrderDO {
    private Long orderId;

    private String orderName;

    private List<Integer> nums;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    public List<Integer> getNums() {
        return nums;
    }

    public void setNums(List<Integer> nums) {
        this.nums = nums;
    }

    @Override
    public String toString() {
        return "OrderDO{" +
                "orderId=" + orderId +
                ", orderName='" + orderName + '\'' +
                ", nums=" + nums +
                '}';
    }
}
